<?php
echo "<select name=\"pastor\">";
if ($sel == 'N') $selected = "selected"; else $selected = "";
echo "<option " . $selected . " value='N'>None";
if ($sel == 'P') $selected = "selected"; else $selected = "";
echo "<option " . $selected . " value='P'>牧師 Pastor";
if ($sel == 'Y') $selected = "selected"; else $selected = "";
echo "<option " . $selected . " value='Y'>青少年牧師 Youth Pastor";
if ($sel == 'M') $selected = "selected"; else $selected = "";
echo "<option " . $selected . " value='M'>宣教士 Missionary";
if ($sel == 'I') $selected = "selected"; else $selected = "";
echo "<option " . $selected . " value='I'>傳道人 Minister";
echo "</select>";
?>